package com.example.leetcode.bit;

import com.example.leetcode.bit.common.BitUtils;

class Solution136 {
    public int singleNumber(int[] nums) {
        return BitUtils.singleNumber(nums);
    }
}

public class leetcode136 {
    public static void main(String[] args) {
        Solution136 solution136 = new Solution136();
        int[] nums = {4, 1, 2, 1, 2};
        int[] nums1 = {2, 1, 2};
        int[] nums2 = {1};
        int[] nums3 = {2, -1, 2};
        System.out.println(solution136.singleNumber(nums));
        System.out.println(solution136.singleNumber(nums1));
        System.out.println(solution136.singleNumber(nums2));
        System.out.println(solution136.singleNumber(nums3));
    }
}
